#!bin/bash

# 计算一系列命令操作后所用的时间.
echo Date

START=$(date +%s) 

sleep 3.2

END=$(date +%s) 

DIFFERENCE=$(( END - START ))

echo Time elapsed: $DIFFERENCE seconds